package cn.lyh.FoodSystem.Dao;


import cn.lyh.FoodSystem.Entity.Video;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface VideoDao extends JpaRepository<Video,Integer>, JpaSpecificationExecutor<Video> {
    List<Video> findByType(String courseId);
}
